{{!
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
}}

  <div id="student-grades-right-content">
      <div class="student_assignment final_grade">
        {{#t}}Total{{/t}}: <span class="grade">{{total}}</span>
	
	{{#letter}}
          <span class="final_letter_grade">
            (<span class="grade" id="final_letter_grade_text">{{text}}</span>)
          </span>
        {{/letter}}
      </div>
    <div id="assignments-not-weighted">
{{!
        > courses/sidebar_periods_weighting
        > courses/sidebar_weighting
}}
    </div>
  </div>

<div id="assignments">
  <span id="aria-announcer" class="hide-text affix" aria-live="polite" aria-relevant="additions"></span>
<table id="grades_summary" class="ic-Table ic-Table--hover-row">
  <thead>
    <tr>
      <th scope="col">{{#t}}Name{{/t}}</th>
      <th scope="col">{{#t}}Due{{/t}}</th>

      <th scope="col" class="assignment_score">{{#t}}Score{{/t}}</th>
      <th scope="col" class="possible">{{#t}}Out of{{/t}}</th>
      <th scope="col">{{#t}}Category{{/t}}</th>
      <th scope="col">{{#t}}Comment{{/t}}</th>
    </tr>
  </thead>
  {{#grades}}
  <tr>
      <th class="title" scope="row">
	{{#unread}}
          <div class="unread-grade">&nbsp;</div>
	{{/unread}}
	{{title}}
      </td>
      <td class="due">
	{{due}}
      </td>

      <td class="assignment_score"> 
        <div style="position: relative; height: 100%;" class="score_holder">
          <span class="tooltip">
            <span
              class="grade"
            >
		{{score}}
          </span>
        </div>
      </td>
      <td class="possible points_possible">
	{{possible}}
      </td>
      <td>
	{{category}}
      </td>
      <td>
	{{comment}}
      </td>
    </tr>
  {{/grades}}
</table>
</div>
